package com.hedd.shop.pojo.qo;

import java.math.BigDecimal;

/**
 * @author ludi
 * @date:2020/9/1 10:44
 * @description;购物车转订单详情参数类
 */
public class ItemAddQO {
    private Integer productId;
    private Integer orderId;
    private BigDecimal itemNum;
    private BigDecimal itemTotalPrice;

    public ItemAddQO() {
    }

    public ItemAddQO(Integer productId, Integer orderId, BigDecimal itemNum,
                     BigDecimal itemTotalPrice) {
        this.productId = productId;
        this.orderId = orderId;
        this.itemNum = itemNum;
        this.itemTotalPrice = itemTotalPrice;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public BigDecimal getItemNum() {
        return itemNum;
    }

    public void setItemNum(BigDecimal itemNum) {
        this.itemNum = itemNum;
    }

    public BigDecimal getItemTotalPrice() {
        return itemTotalPrice;
    }

    public void setItemTotalPrice(BigDecimal itemTotalPrice) {
        this.itemTotalPrice = itemTotalPrice;
    }

    @Override
    public String toString() {
        return "ItemAddQO{" +
                "productId=" + productId +
                ", orderId=" + orderId +
                ", itemNum=" + itemNum +
                ", itemTotalPrice=" + itemTotalPrice +
                '}';
    }
}
